#course.py
from sqlalchemy import Column, ForeignKey, String, Integer, orm
from app.models.base import Base
#from app.models.assignqV import AssignqVariation
class Course(Base):
    CNumber = Column(Integer, primary_key=True,autoincrement=True)
    CName = Column(String(100), unique=True, nullable=False)
    CCategory = Column(String(80), nullable=False)
    def __init__(self,CName,CNumber,CCategory):
        super(Course,self).__init__()
        self.CName = CName
        self.CNumber = CNumber
        self.CCategory = CCategory
        
        